package com.ohuang.launcher.util;

import android.view.View;
import android.view.ViewGroup;

public class ViewUtil {

    public static void showView(View view){
        view.setVisibility(View.VISIBLE);
    }

    public static void hideView(View view){
        view.setVisibility(View.GONE);
    }

    public static void invisibleView(View view){
        view.setVisibility(View.INVISIBLE);
    }

    public static void addView(ViewGroup viewGroup,View view){
        viewGroup.addView(view);
    }
}
